package com.colin.app.activity.view;

import android.widget.EditText;
import android.widget.ImageView;

import com.colin.app.bean.ItemBean;
import com.colin.library.base.BaseModel;
import com.colin.library.base.BasePresenter;
import com.colin.library.base.BaseView;

import java.util.List;

/**
 * Created by Colin on 2017/2/7.
 */

public interface ViewContract {

    interface ViewView extends BaseView {

    }

    interface ViewPresenter extends BasePresenter {
        //EditText简单使用方法
        void editTextChanged(String text, ImageView image_delete_password);

        void editPasswordShow(ImageView image_password_hide, EditText edit_password);

        void editDeleteText(EditText edit_password);

        //EditText简单使用方法

        //EditText简单使用方法
        List<ItemBean> listGetItemData(boolean isRefresh);

        //EditText简单使用方法

        //WebView
        String getWebViewUrl();

    }

    interface ViewModel extends BaseModel {

        int getPage();

        List<ItemBean> getItemBeanList(int page);

        String getWebViewUrl();

    }
}
